shi = ["北京", "天津", "上海", "重庆"]
zizhiqu = ["内蒙古", "新疆维吾尔", "西藏", "宁夏回族", "广西壮族"]
special = ["香港", "澳门"]


def trans(province):
    """
    补全中国省份名称
    :param province: 待补全的省份名称
    :return: 补全好的省份名称
    """
    for each in shi:
        if each == province:
            return province + "市"
    for each in zizhiqu:
        if each == province:
            return province + "自治区"
    for each in special:
        if each == province:
            return province + "特别行政区"
    if province == "新疆":
        return province + "维吾尔自治区"
    if province == "宁夏":
        return province + "回族自治区"
    if province == "广西":
        return province + "壮族自治区"
    return province + "省"


if __name__ == '__main__':
    print(trans("北京"))
    print(trans("广东"))
    print(trans("澳门"))
    print(trans("新疆"))
